#pragma once

#if defined(__linux__)
#include "linux/coroutine.h"
#else
#include "windows/coroutine.h"
#endif // linux

#include <stdexcept>
#include <string>
inline std::size_t getStackSize() { return coroutine::STACK_SIZE; }

using CoroCancelException = std::runtime_error;
